package common.event;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;

public class OnItemClickListenerEvent implements OnItemClickListener
{
	private static OnItemClickListenerEvent instance=null;
	
	private OnItemClickListenerEvent()
	{
		 
	}
	
	public static OnItemClickListenerEvent getInstance()
	{
		if(instance==null)
			instance=new OnItemClickListenerEvent();
		
		return instance;
	}
	
	public void onItemClick(AdapterView<?> parent, View view, int position,long id)
	{
		EventHandler eventHandler=EventHandlerInstance.getInstance();
		eventHandler.HandleEvent(view);
	}
}
